<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class CaseReceipt extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'case_receipts';

    public function caseCase()
    {
        return $this->belongsTo(CaseCase::class);
    }

    public function caseInvoice()
    {
        return $this->hasOne(CaseInvoice::class);
    }
}
